# coding:utf-8
# writingtime:
import numpy as np

# print(float(2e-7),0.000000000000001)
# print(1.5-0.000000000000001)
c = [[1, 1, 1], [2, 2, 2]]
a = np.array([[1, 1, 1], [1, 1, 1]])
b = np.array([[1, 1, 1], [1, 1, 1]])
# print((a+b)/3)
# coefficient = sum([sum([j * j for j in i]) for i in a])
# print(coefficient)
# print([[r[col] for r in c] for col in range(len(c[0]))])

# flag = 4
# while flag:
#     print(1, end=',')
#     if flag == 2:
#         pass
#     flag -= 1
u = np.array([[1, 2], [1, 2]])
u2 = np.array([[1, 1, 1, 1, 1],
               [1, 1, 1, 1, 1]])
print(np.linalg.norm(u))
